<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:98:"/data/wwwroot/luckyDraw/m/public/../application/ordinary/view/lianpiao/lianpiao_travel_details.php";i:1495679642;}*/ ?>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <title>景区详情</title>
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/bootstrap.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/font-awesome.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/cl-style.css?22">
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/star-rating.css">
</head>
<body>
  <div class="container-fluid">
      <div class="row">
          <header class="cl-Forgetpasswd-header">
              <ul>
                  <li class="col-xs-3"><a href="<?php echo url('lianpiao_travel_list',array('lpn'=>$info['lianpiaono'])); ?>"><i class="fa fa-chevron-left"> 返回</i></a></li>
                  <li class="col-xs-6 text-center"><span class="text-center">景区详情</span></li>
                  <li class="col-xs-3"></li>
              </ul>
          </header>
          <div class="cl-bst-img">
              <img src="<?php echo \think\Config::get('gobal.imgServer'); ?><?php echo $info['bigimg']['0']['path']; ?>">
          </div>
          <h5 class="cl-scenery-title"><span ><?php echo $info['title']; ?></span></h5>
      </div>
  </div>
<div class="container-fluid">
    <ul>

        <li><p>景区级别：<span class="cl_text-color"><?php echo $info['jqjijie']; ?></span></p></li>
        <li><p>门票价格：<span class="cl_text-color"><?php echo $info['guapaijia']; ?>元</span></p></li>
        <li><p>景区地址：<?php echo $info['area']; ?></p></li>
        <li><p>景区开放时间：<?php echo $info['starttime']; ?>~<?php echo $info['endtime']; ?></p></li>
        
    </ul>
</div>
  <!-- 景区详情分页开始  -->
<div class="container-fluid">
    <div class="row">
        <nav class="cl-bst-nav">
            <ul>
                <li class="col-xs-6 text-center"><a href="#piaozhong">票型</a> </li>
                <li class="col-xs-6 text-center"><a href="#jianjie">简介</a> </li>
            </ul>
        </nav>
    </div>
</div>
<div class="container-fluid" style="width:96%;">
    <div class="row">
        <!-- 票种-->
        <div class="cl-piaozhong-box" id="piaozhong">
            <header class="cl_text-color">
                <span class="fa-stack fa-lg">
                   <i class="fa fa-circle fa-stack-2x"></i>
                   <i class="fa fa-ticket fa-stack-1x fa-inverse"></i>
               </span> 超旅联票会员特权
            </header>
            <footer>

                <ul>
                    <li class="col-xs-12" style="padding-left:15px;"><h5><?php echo $info['title']; ?></h5></li>
                    <li>
                        <ul>
                            <li class="col-xs-8" data-toggle="modal" data-target="#clModal">
                                <ul>
                                    <li>
                        			<p class="small">
				                        <?php if($info['timeswitch'] == 1): ?>
				                        	<?php echo $info['tq_notice']; else: ?>
                                            <?php echo $zuhe['order_ahead_time']; endif; ?>
                        			</p>
                        			</li>
                                    <li><span class="cl_text-color"><del><?php echo $info['guapaijia']; ?>元</del></span> <small class="text-warning">票型说明 <i class="fa fa-angle-right"></i></small></li>
                                </ul>
                            </li>
                            <li class="col-xs-4">
                            <button type="button"  class="btn btn-warning" onclick="window.location='<?php echo url('Order/index',array('od'=>$info['prize_coupon_code'])); ?>'">预约</button>
                           </li> 
                        </ul>
                    </li>
                </ul>


            </footer>
        </div>

        <!--简介开始-->
        <div class="cl-jianjie-box" id="jianjie">
            <header><h5><span class="fa-stack fa-lg">
                   <i class="fa fa-square fa-stack-2x"></i>
                   <i class="fa fa-image fa-stack-1x fa-inverse"></i>
               </span>景区简介</h5></header>
            <footer>
        <?php echo $info['content']; ?>
            </footer>

        </div>
    </div>
</div>

        
  <!---票型说明---->
  <div class="cl-tanmu-box"  role="dialog" tabindex="-1"  aria-labelledby="myModalLabel" id="clModal">
      <header>
          <p class="text-right cl-close"><i class="fa fa-remove fa-lg " data-dismiss="modal" aria-label="Close"></i></p>
          <h5 class="text-center">票型说明 </h5>
      </header>
      <footer>

          <hr>
          <h5>预订时间</h5>
          <p><!--特殊处理-->
          	  <?php echo $zuhe['order_ahead_time']; ?>
          </p>
          <hr>
          <h5>入园方式</h5>
          <p><?php echo $info['enterpark']; ?></p>
          <hr>
          <h5>包含项目</h5>
          <p><?php echo $zuhe['containing_project']; ?></p>
          <hr>
          <h5>退改规则</h5>
          <p><?php echo $zuhe['retreat_single_rule']; ?></p>

      </footer>
  </div>
<div class="modal fade cl-modal-img" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
    <div class="cl-img-box">
        <img src="" id="img_show">
    </div>
</div>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">闭园原因</h4>
      </div>
      <div class="modal-body" id="closeid">
        
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>

<script>
	function closeMsg($id){
		$('#closeid').html($id);
		$('#myModal').modal('show');
	}
	function model_img(obj){
		$('#img_show').attr('src',obj.src);
	}
</script>

</body>
<script type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/bootstrap.js"></script>

<script>
    $(function(){
        $('.cl-down').click(function(){
            $('.cl-piaozhong-footer').toggle();
        });
    });
</script>
<script charset="utf-8" type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/baidu_count.js"></script>
<script>
	function footprint( flag , id ,lid ){
		var url = '';
		var datastr = '';
		if(flag == 'hotel'){
			url = "<?php echo url('FootPrint/hotel'); ?>";
			datastr = 'flag=1&lid='+lid;
		}else{
			url = "<?php echo url('FootPrint/index'); ?>";
			if( id ==1){
				datastr = 'flag=1&id=1&lid='+lid;
			}else{
				datastr = 'flag=1&id=2&lid='+lid;
			}
		}
		$.ajax({
	      url: url,
	      data: datastr,
	      type: "POST",
	      dataType: "json"
	    });
	}
</script>

</html>